package com.javasm.adminapi.module.activity.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 活动管理-促销活动与商品关系表(AmActivityGoods)表实体类
 *
 * @author makejava
 * @since 2025-10-15 14:40:36
 */
@SuppressWarnings("serial")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AmActivityGoods extends Model<AmActivityGoods> {

    @TableId(type = IdType.AUTO)
    private Integer id;
//活动id
    private Integer activityId;
//商品id
    private Integer goodsId;
//活动数量
    private Integer promotionAmount;
//折扣类型
    private String discountType;
//比例
    private String percentage;
//市场推广价
    private Double marketPromotionPrice;
//商城推广价
    private Double mallPromotionPrice;

}
